To solve the problem, simply change the name of the button so that name="moo" (or something). Your submit() call in your javascript function/method will now work.
It took me a while of hacking javascript and html to work that one out - hopefully this post will mean it only takes you a minute..
christo
follow me on twitter: http://twitter.com/planet_guru